home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 1.iso
/
DEMON
/
RISCOS2
/
ARCKA9Q1.ARC
/
ReadMeVCS
< prev
Wrap
Text File
|
1992-10-28
|
3KB
|
68 lines
KA9Q NNTP
This needs a file to be set up in <TCPIP$Dir> called ABCGroup (ABC is again
the abbreviation used by ReaderS), this file contains the names of the
newsgroups you wish to recieve, one per line or on the same line seperated
by commas or a mix. Wildcards are valid if you want more than one sub-group,
eg comp.sys.acorn* gets you c.s.a itself, c.s.a.announce, c.s.a.advocacy and
c.s.a.tech. Optionally you can also create a file called ABCLast which
contains a date as a six figure number on the first line and a six figure
time on the second line. If this file is missing, the date will default to
the first of the current month, and the time to a second past midnight. The
file will be created and updated each time NNTP finishes.
To call NNTP from KA9Q you need first to set up a server, "nntp addserver
domain.name <interval> ABC", so to use news.demon and check every 30 minutes
using the abbreviation Dem, "nntp addserver news.demon.co.uk 1800 Dem". Once
the server has been set up "nntp kick" it and the news should start flowing.
You will find the news in the file "<Mail$Dir>.ABCNews", along with a list
of any new groups which have appeared since your last call.
At the moment the same date and time is used for every group, so you will
only get new news from a new group starting from your last download. There
is also no checking for cross-posted duplicates but it is better than
nothing! :-)
Plots for the future include using ReaderSs areas file for the newsgroups
list, and if I can ever get round to the next stage re-write direct saving
of messages to the database.
HANGING UP AFTER A CALL
I've added a new command to the TCP section of the code, "TCP HANGUP <check>
<after>" so that every <check> seconds the TCP connections are scanned for
open states. If <after> consecutive checks come up clear the DTR line will
be toggled for a second which on my modem causes the line to hang up. *DON'T
RELY ON THIS* Any state apart from "Closed", "Listen", "SYN Sent" or "SYN
recieved" is take to mean the connection is open, this includes all the
various wait states.
eg To check the line every ten seconds, and hangup after three clear checks
(ie thirty seconds) issue the command "tcp hangup 10 3". To stop checking
set <after> to zero, eg "tcp hangup 10 0"
COMMAND WINDOW GRABBING THE CARET
It doesn't! I (and Paul Allen, and probably others!) got fed up with the
command window getting the caret every time something was written to it. It
now doesn't unless it had it in the first place.
Anthony
ReaderS Demon Module
This requires a file in <Readback$Dir> called ABCXtra where ABC is the
abbreviation you use for the system. This must contain four items, these
being your domain, your user name, your real name and the news posting
gateway. Optionally, it may also contain an organization name. The items are
arranged in the form <item> <text>. My file is set up as...
---------------------
Domain kernow.demon.co.uk
User vulch
real_name Anthony Frost
gateway news.demon.co.uk
organization VCS Kernow
---------------------
The order is not important, nor is the case of the item name.